package com.yc.springmvc.mapper.Impl;

import java.util.ArrayList;
import java.util.List;


import com.yc.springmvc.bean.UserInfo;
import com.yc.springmvc.mapper.IUserInfoMapper;
//@Repository
public class UserInfoMapper implements IUserInfoMapper{

	public UserInfo login(UserInfo uf) {
		return uf;
	}
	
	public List<UserInfo> finds(){
		List<UserInfo> list = new ArrayList<UserInfo>();
		list.add(new UserInfo(101,"天天1","12345600"));
		list.add(new UserInfo(102,"天天2","12345611"));
		list.add(new UserInfo(103,"天天3","12345622"));
		return list;
	}
}
